import { defineStore } from 'pinia';
import { store } from '@/store';
import storage from 'good-storage';

import API_HOME from '@/apis/home';
import API_ORDER from '@/apis/order';
import {showToast} from 'vant'

export const useOrderInfo = defineStore({
  id: 'OrderInfo',
  state: () => ({
    // 评价数据源
    data:{}
  }),
  getters: {
  getEvaluate: (state:any) => state.data,
  
  },
  actions: {
    setEvaluateData(data:any){
        this.data=data  
    }
}
});
